package com.beamfield.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LabSampleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LabSampleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andSample_nameIsNull() {
            addCriterion("sample_name is null");
            return (Criteria) this;
        }

        public Criteria andSample_nameIsNotNull() {
            addCriterion("sample_name is not null");
            return (Criteria) this;
        }

        public Criteria andSample_nameEqualTo(String value) {
            addCriterion("sample_name =", value, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameNotEqualTo(String value) {
            addCriterion("sample_name <>", value, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameGreaterThan(String value) {
            addCriterion("sample_name >", value, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameGreaterThanOrEqualTo(String value) {
            addCriterion("sample_name >=", value, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameLessThan(String value) {
            addCriterion("sample_name <", value, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameLessThanOrEqualTo(String value) {
            addCriterion("sample_name <=", value, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameLike(String value) {
            addCriterion("sample_name like", value, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameNotLike(String value) {
            addCriterion("sample_name not like", value, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameIn(List<String> values) {
            addCriterion("sample_name in", values, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameNotIn(List<String> values) {
            addCriterion("sample_name not in", values, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameBetween(String value1, String value2) {
            addCriterion("sample_name between", value1, value2, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_nameNotBetween(String value1, String value2) {
            addCriterion("sample_name not between", value1, value2, "sample_name");
            return (Criteria) this;
        }

        public Criteria andSample_noIsNull() {
            addCriterion("sample_no is null");
            return (Criteria) this;
        }

        public Criteria andSample_noIsNotNull() {
            addCriterion("sample_no is not null");
            return (Criteria) this;
        }

        public Criteria andSample_noEqualTo(String value) {
            addCriterion("sample_no =", value, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noNotEqualTo(String value) {
            addCriterion("sample_no <>", value, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noGreaterThan(String value) {
            addCriterion("sample_no >", value, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noGreaterThanOrEqualTo(String value) {
            addCriterion("sample_no >=", value, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noLessThan(String value) {
            addCriterion("sample_no <", value, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noLessThanOrEqualTo(String value) {
            addCriterion("sample_no <=", value, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noLike(String value) {
            addCriterion("sample_no like", value, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noNotLike(String value) {
            addCriterion("sample_no not like", value, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noIn(List<String> values) {
            addCriterion("sample_no in", values, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noNotIn(List<String> values) {
            addCriterion("sample_no not in", values, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noBetween(String value1, String value2) {
            addCriterion("sample_no between", value1, value2, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_noNotBetween(String value1, String value2) {
            addCriterion("sample_no not between", value1, value2, "sample_no");
            return (Criteria) this;
        }

        public Criteria andSample_modelIsNull() {
            addCriterion("sample_model is null");
            return (Criteria) this;
        }

        public Criteria andSample_modelIsNotNull() {
            addCriterion("sample_model is not null");
            return (Criteria) this;
        }

        public Criteria andSample_modelEqualTo(String value) {
            addCriterion("sample_model =", value, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelNotEqualTo(String value) {
            addCriterion("sample_model <>", value, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelGreaterThan(String value) {
            addCriterion("sample_model >", value, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelGreaterThanOrEqualTo(String value) {
            addCriterion("sample_model >=", value, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelLessThan(String value) {
            addCriterion("sample_model <", value, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelLessThanOrEqualTo(String value) {
            addCriterion("sample_model <=", value, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelLike(String value) {
            addCriterion("sample_model like", value, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelNotLike(String value) {
            addCriterion("sample_model not like", value, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelIn(List<String> values) {
            addCriterion("sample_model in", values, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelNotIn(List<String> values) {
            addCriterion("sample_model not in", values, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelBetween(String value1, String value2) {
            addCriterion("sample_model between", value1, value2, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_modelNotBetween(String value1, String value2) {
            addCriterion("sample_model not between", value1, value2, "sample_model");
            return (Criteria) this;
        }

        public Criteria andSample_batchIsNull() {
            addCriterion("sample_batch is null");
            return (Criteria) this;
        }

        public Criteria andSample_batchIsNotNull() {
            addCriterion("sample_batch is not null");
            return (Criteria) this;
        }

        public Criteria andSample_batchEqualTo(String value) {
            addCriterion("sample_batch =", value, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchNotEqualTo(String value) {
            addCriterion("sample_batch <>", value, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchGreaterThan(String value) {
            addCriterion("sample_batch >", value, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchGreaterThanOrEqualTo(String value) {
            addCriterion("sample_batch >=", value, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchLessThan(String value) {
            addCriterion("sample_batch <", value, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchLessThanOrEqualTo(String value) {
            addCriterion("sample_batch <=", value, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchLike(String value) {
            addCriterion("sample_batch like", value, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchNotLike(String value) {
            addCriterion("sample_batch not like", value, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchIn(List<String> values) {
            addCriterion("sample_batch in", values, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchNotIn(List<String> values) {
            addCriterion("sample_batch not in", values, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchBetween(String value1, String value2) {
            addCriterion("sample_batch between", value1, value2, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_batchNotBetween(String value1, String value2) {
            addCriterion("sample_batch not between", value1, value2, "sample_batch");
            return (Criteria) this;
        }

        public Criteria andSample_spIsNull() {
            addCriterion("sample_sp is null");
            return (Criteria) this;
        }

        public Criteria andSample_spIsNotNull() {
            addCriterion("sample_sp is not null");
            return (Criteria) this;
        }

        public Criteria andSample_spEqualTo(String value) {
            addCriterion("sample_sp =", value, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spNotEqualTo(String value) {
            addCriterion("sample_sp <>", value, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spGreaterThan(String value) {
            addCriterion("sample_sp >", value, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spGreaterThanOrEqualTo(String value) {
            addCriterion("sample_sp >=", value, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spLessThan(String value) {
            addCriterion("sample_sp <", value, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spLessThanOrEqualTo(String value) {
            addCriterion("sample_sp <=", value, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spLike(String value) {
            addCriterion("sample_sp like", value, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spNotLike(String value) {
            addCriterion("sample_sp not like", value, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spIn(List<String> values) {
            addCriterion("sample_sp in", values, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spNotIn(List<String> values) {
            addCriterion("sample_sp not in", values, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spBetween(String value1, String value2) {
            addCriterion("sample_sp between", value1, value2, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_spNotBetween(String value1, String value2) {
            addCriterion("sample_sp not between", value1, value2, "sample_sp");
            return (Criteria) this;
        }

        public Criteria andSample_mfIsNull() {
            addCriterion("sample_mf is null");
            return (Criteria) this;
        }

        public Criteria andSample_mfIsNotNull() {
            addCriterion("sample_mf is not null");
            return (Criteria) this;
        }

        public Criteria andSample_mfEqualTo(String value) {
            addCriterion("sample_mf =", value, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfNotEqualTo(String value) {
            addCriterion("sample_mf <>", value, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfGreaterThan(String value) {
            addCriterion("sample_mf >", value, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfGreaterThanOrEqualTo(String value) {
            addCriterion("sample_mf >=", value, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfLessThan(String value) {
            addCriterion("sample_mf <", value, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfLessThanOrEqualTo(String value) {
            addCriterion("sample_mf <=", value, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfLike(String value) {
            addCriterion("sample_mf like", value, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfNotLike(String value) {
            addCriterion("sample_mf not like", value, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfIn(List<String> values) {
            addCriterion("sample_mf in", values, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfNotIn(List<String> values) {
            addCriterion("sample_mf not in", values, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfBetween(String value1, String value2) {
            addCriterion("sample_mf between", value1, value2, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andSample_mfNotBetween(String value1, String value2) {
            addCriterion("sample_mf not between", value1, value2, "sample_mf");
            return (Criteria) this;
        }

        public Criteria andRepresent_numIsNull() {
            addCriterion("represent_num is null");
            return (Criteria) this;
        }

        public Criteria andRepresent_numIsNotNull() {
            addCriterion("represent_num is not null");
            return (Criteria) this;
        }

        public Criteria andRepresent_numEqualTo(Double value) {
            addCriterion("represent_num =", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numNotEqualTo(Double value) {
            addCriterion("represent_num <>", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numGreaterThan(Double value) {
            addCriterion("represent_num >", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numGreaterThanOrEqualTo(Double value) {
            addCriterion("represent_num >=", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numLessThan(Double value) {
            addCriterion("represent_num <", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numLessThanOrEqualTo(Double value) {
            addCriterion("represent_num <=", value, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numIn(List<Double> values) {
            addCriterion("represent_num in", values, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numNotIn(List<Double> values) {
            addCriterion("represent_num not in", values, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numBetween(Double value1, Double value2) {
            addCriterion("represent_num between", value1, value2, "represent_num");
            return (Criteria) this;
        }

        public Criteria andRepresent_numNotBetween(Double value1, Double value2) {
            addCriterion("represent_num not between", value1, value2, "represent_num");
            return (Criteria) this;
        }

        public Criteria andSample_dateIsNull() {
            addCriterion("sample_date is null");
            return (Criteria) this;
        }

        public Criteria andSample_dateIsNotNull() {
            addCriterion("sample_date is not null");
            return (Criteria) this;
        }

        public Criteria andSample_dateEqualTo(String value) {
            addCriterion("sample_date =", value, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateNotEqualTo(String value) {
            addCriterion("sample_date <>", value, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateGreaterThan(String value) {
            addCriterion("sample_date >", value, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateGreaterThanOrEqualTo(String value) {
            addCriterion("sample_date >=", value, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateLessThan(String value) {
            addCriterion("sample_date <", value, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateLessThanOrEqualTo(String value) {
            addCriterion("sample_date <=", value, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateLike(String value) {
            addCriterion("sample_date like", value, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateNotLike(String value) {
            addCriterion("sample_date not like", value, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateIn(List<String> values) {
            addCriterion("sample_date in", values, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateNotIn(List<String> values) {
            addCriterion("sample_date not in", values, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateBetween(String value1, String value2) {
            addCriterion("sample_date between", value1, value2, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_dateNotBetween(String value1, String value2) {
            addCriterion("sample_date not between", value1, value2, "sample_date");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineIsNull() {
            addCriterion("sample_deadline is null");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineIsNotNull() {
            addCriterion("sample_deadline is not null");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineEqualTo(String value) {
            addCriterion("sample_deadline =", value, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineNotEqualTo(String value) {
            addCriterion("sample_deadline <>", value, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineGreaterThan(String value) {
            addCriterion("sample_deadline >", value, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineGreaterThanOrEqualTo(String value) {
            addCriterion("sample_deadline >=", value, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineLessThan(String value) {
            addCriterion("sample_deadline <", value, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineLessThanOrEqualTo(String value) {
            addCriterion("sample_deadline <=", value, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineLike(String value) {
            addCriterion("sample_deadline like", value, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineNotLike(String value) {
            addCriterion("sample_deadline not like", value, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineIn(List<String> values) {
            addCriterion("sample_deadline in", values, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineNotIn(List<String> values) {
            addCriterion("sample_deadline not in", values, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineBetween(String value1, String value2) {
            addCriterion("sample_deadline between", value1, value2, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andSample_deadlineNotBetween(String value1, String value2) {
            addCriterion("sample_deadline not between", value1, value2, "sample_deadline");
            return (Criteria) this;
        }

        public Criteria andIshandelIsNull() {
            addCriterion("ishandel is null");
            return (Criteria) this;
        }

        public Criteria andIshandelIsNotNull() {
            addCriterion("ishandel is not null");
            return (Criteria) this;
        }

        public Criteria andIshandelEqualTo(Integer value) {
            addCriterion("ishandel =", value, "ishandel");
            return (Criteria) this;
        }

        public Criteria andIshandelNotEqualTo(Integer value) {
            addCriterion("ishandel <>", value, "ishandel");
            return (Criteria) this;
        }

        public Criteria andIshandelGreaterThan(Integer value) {
            addCriterion("ishandel >", value, "ishandel");
            return (Criteria) this;
        }

        public Criteria andIshandelGreaterThanOrEqualTo(Integer value) {
            addCriterion("ishandel >=", value, "ishandel");
            return (Criteria) this;
        }

        public Criteria andIshandelLessThan(Integer value) {
            addCriterion("ishandel <", value, "ishandel");
            return (Criteria) this;
        }

        public Criteria andIshandelLessThanOrEqualTo(Integer value) {
            addCriterion("ishandel <=", value, "ishandel");
            return (Criteria) this;
        }

        public Criteria andIshandelIn(List<Integer> values) {
            addCriterion("ishandel in", values, "ishandel");
            return (Criteria) this;
        }

        public Criteria andIshandelNotIn(List<Integer> values) {
            addCriterion("ishandel not in", values, "ishandel");
            return (Criteria) this;
        }

        public Criteria andIshandelBetween(Integer value1, Integer value2) {
            addCriterion("ishandel between", value1, value2, "ishandel");
            return (Criteria) this;
        }

        public Criteria andIshandelNotBetween(Integer value1, Integer value2) {
            addCriterion("ishandel not between", value1, value2, "ishandel");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(Long value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(Long value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(Long value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(Long value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(Long value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<Long> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<Long> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(Long value1, Long value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(Long value1, Long value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNull() {
            addCriterion("addtime is null");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNotNull() {
            addCriterion("addtime is not null");
            return (Criteria) this;
        }

        public Criteria andAddtimeEqualTo(Date value) {
            addCriterion("addtime =", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotEqualTo(Date value) {
            addCriterion("addtime <>", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThan(Date value) {
            addCriterion("addtime >", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("addtime >=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThan(Date value) {
            addCriterion("addtime <", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThanOrEqualTo(Date value) {
            addCriterion("addtime <=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeIn(List<Date> values) {
            addCriterion("addtime in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotIn(List<Date> values) {
            addCriterion("addtime not in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeBetween(Date value1, Date value2) {
            addCriterion("addtime between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotBetween(Date value1, Date value2) {
            addCriterion("addtime not between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNull() {
            addCriterion("updater is null");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNotNull() {
            addCriterion("updater is not null");
            return (Criteria) this;
        }

        public Criteria andUpdaterEqualTo(Long value) {
            addCriterion("updater =", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotEqualTo(Long value) {
            addCriterion("updater <>", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThan(Long value) {
            addCriterion("updater >", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThanOrEqualTo(Long value) {
            addCriterion("updater >=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThan(Long value) {
            addCriterion("updater <", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThanOrEqualTo(Long value) {
            addCriterion("updater <=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterIn(List<Long> values) {
            addCriterion("updater in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotIn(List<Long> values) {
            addCriterion("updater not in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterBetween(Long value1, Long value2) {
            addCriterion("updater between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotBetween(Long value1, Long value2) {
            addCriterion("updater not between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNull() {
            addCriterion("beam_id is null");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNotNull() {
            addCriterion("beam_id is not null");
            return (Criteria) this;
        }

        public Criteria andBeam_idEqualTo(Long value) {
            addCriterion("beam_id =", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotEqualTo(Long value) {
            addCriterion("beam_id <>", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThan(Long value) {
            addCriterion("beam_id >", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThanOrEqualTo(Long value) {
            addCriterion("beam_id >=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThan(Long value) {
            addCriterion("beam_id <", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThanOrEqualTo(Long value) {
            addCriterion("beam_id <=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idIn(List<Long> values) {
            addCriterion("beam_id in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotIn(List<Long> values) {
            addCriterion("beam_id not in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idBetween(Long value1, Long value2) {
            addCriterion("beam_id between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotBetween(Long value1, Long value2) {
            addCriterion("beam_id not between", value1, value2, "beam_id");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}